{extend name="base" /}
{block name="body"}
<div class="layui-card">
    <div class="layui-card-body">
        <blockquote class="layui-elem-quote layui-text">
            变动金额为<span class="text-danger">-(负数)</span>时，变动方式为减少变动金额。
        </blockquote>
        <form action="{:request()->url()}" class="layui-form" method="post">
            <div class="layui-form-item">
                <label class="layui-form-label">{$Think.lang.username}</label>
                <div class="layui-form-mid layui-word-aux">{$info.name|default=''}</div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">{$Think.lang.money}</label>
                <div class="layui-input-block" style="max-width: 600px;">
                    <input type="text" name="money" value="" autocomplete="off" placeholder="请输入金额" lay-verify="required|float" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux text-danger">{$info.money|default='0.00'}</div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">{$Think.lang.integral}</label>
                <div class="layui-input-block" style="max-width: 600px;">
                    <input type="text" name="integral" value="" autocomplete="off" placeholder="请输入积分" lay-verify="required|float" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux text-danger">{$info.integral|default='0.00'}</div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">{$Think.lang.growth}</label>
                <div class="layui-input-block" style="max-width: 600px;">
                    <input type="text" name="growth" value="" autocomplete="off" placeholder="请输入成长值" lay-verify="required|float" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux text-danger">{$info.growth|default='0.00'}</div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">{$Think.lang.describe}</label>
                <div class="layui-input-block" style="max-width: 600px;">
                    <textarea name="change_desc" placeholder="请输入备注" class="layui-textarea" lay-verify="required" ></textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block" style="max-width: 600px;">
                    <button class="layui-btn" lay-filter="i" lay-submit="">{$Think.lang.save}</button>
                    <button class="layui-btn layui-btn-primary" type="reset">{$Think.lang.reset}</button>
                </div>
            </div>
        </form>
    </div>
</div>
{/block}
